<template>
	<view class="common-list">
		<view class="u-comment-title">最新评论 {{comment.count}}</view>
		<block v-for="(item, index) in comment.list" :key="index">
			<comment-info :item="item" :index="index"></comment-info>
		</block>
	</view>
</template>

<script>
	import commentInfo from './comment-info.vue';
	export default {
		props:{
			comment: Object
		},
		components:{
			commentInfo
		}
	}
</script>

<style scoped lang="scss">
	.common-list{
		.u-comment-title {
			padding: 20upx 0;
			font-size: 33upx;
			font-weight: bold;
		}
	}
</style>
